package com.ruoyi.business.controller.fuyou;


import com.ruoyi.business.service.IWsdPaymentRecordsService;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.domain.entity.WsdClasses;
import com.ruoyi.common.core.domain.entity.WsdPaymentRecords;
import com.ruoyi.common.core.domain.vo.CompanyVO;
import com.ruoyi.common.core.page.TableDataInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 充值缴费记录表 前端控制器
 * </p>
 *
 * @author wwq
 * @since 2024-05-18
 */
@RestController
@RequestMapping("/wsdPaymentRecords")
public class WsdPaymentRecordsController extends BaseController {
    @Autowired
    private IWsdPaymentRecordsService wsdPaymentRecordsService;
    @GetMapping("/list")
    public TableDataInfo list(WsdPaymentRecords wsdPaymentRecords) {
        startPage();
        List<WsdPaymentRecords> list = wsdPaymentRecordsService.selectList(wsdPaymentRecords);
        return getDataTable(list);
    }

}
